package avicit.im.lantop.basic.libstructuredefine.cbbtabexceptioncolumns.dto;

import avicit.platform6.core.annotation.log.FieldRemark;
import avicit.platform6.core.annotation.log.LogField;
import avicit.platform6.core.annotation.log.PojoRemark;
import avicit.platform6.core.domain.BeanDTO;
import avicit.platform6.core.properties.PlatformConstant.LogType;

import javax.persistence.Id;

/**
 * <p>
 * 金航数码科技有限责任公司
 * </p>
 * <p>
 * 作者：请填写
 * </p>
 * <p>
 * 邮箱：请填写
 * </p>
 * <p>
 * 创建时间： 2020-11-27 16:37
 * </p>
 * <p>
 * 类说明：请填写
 * </p>
 * <p>
 * 修改记录：
 * </p>
 */
@PojoRemark(table = "cbb_tab_exception_columns", object = "CbbTabExceptionColumnsDTO", name = "CBB_TAB_EXCEPTION_COLUMNS")
public class CbbTabExceptionColumnsDTO extends BeanDTO {
    private static final long serialVersionUID = 1L;

    @Id
    @LogField
    @FieldRemark(column = "id", field = "id", name = "主键")
    private String id;

    @FieldRemark(column = "dest_field_value", field = "destFieldValue", name = "目标字段属性值")
    private String destFieldValue;

    @FieldRemark(column = "src_field_value", field = "srcFieldValue", name = "源字段属性值")
    private String srcFieldValue;

    @FieldRemark(column = "col_field", field = "colField", name = "差异字段属性名")
    private String colField;

    @FieldRemark(column = "col_label", field = "colLabel", name = "差异字段名")
    private String colLabel;

    @FieldRemark(column = "dest_column_id", field = "destColumnId", name = "目标列id")
    private String destColumnId;

    @FieldRemark(column = "src_column_id", field = "srcColumnId", name = "源列id")
    private String srcColumnId;

    @FieldRemark(column = "dest_table_id", field = "destTableId", name = "目标表id")
    private String destTableId;

    @FieldRemark(column = "src_table_id", field = "srcTableId", name = "源表id")
    private String srcTableId;

    @FieldRemark(column = "sys_id", field = "sysId", name = "系统标识ID")
    private String sysId;

    @FieldRemark(column = "secret_level", field = "secretLevel", name = "密级")
    private String secretLevel;

    @FieldRemark(column = "sys_application_id", field = "sysApplicationId", name = "多应用ID")
    private String sysApplicationId;
    private java.util.Date lastUpdateDateBegin;
    private java.util.Date lastUpdateDateEnd;
    private java.util.Date creationDateBegin;
    private java.util.Date creationDateEnd;

    @FieldRemark(column = "attribute_01", field = "attribute01", name = "预留字段1")
    private String attribute01;

    @FieldRemark(column = "attribute_02", field = "attribute02", name = "预留字段2")
    private String attribute02;

    @FieldRemark(column = "attribute_03", field = "attribute03", name = "预留字段3")
    private String attribute03;

    @FieldRemark(column = "attribute_04", field = "attribute04", name = "预留字段4")
    private String attribute04;

    @FieldRemark(column = "attribute_05", field = "attribute05", name = "预留字段5")
    private String attribute05;

    @FieldRemark(column = "attribute_06", field = "attribute06", name = "预留字段6")
    private String attribute06;

    @FieldRemark(column = "attribute_07", field = "attribute07", name = "预留字段7")
    private String attribute07;

    @FieldRemark(column = "attribute_08", field = "attribute08", name = "预留字段8")
    private String attribute08;

    @FieldRemark(column = "attribute_09", field = "attribute09", name = "预留字段9")
    private java.util.Date attribute09;
    private java.util.Date attribute09Begin;
    private java.util.Date attribute09End;

    @FieldRemark(column = "attribute_10", field = "attribute10", name = "预留字段10")
    private java.util.Date attribute10;
    private java.util.Date attribute10Begin;
    private java.util.Date attribute10End;

    @FieldRemark(column = "attribute_11", field = "attribute11", name = "预留字段11")
    private Long attribute11;

    @FieldRemark(column = "attribute_12", field = "attribute12", name = "预留字段12")
    private Long attribute12;

    @FieldRemark(column = "attribute_13", field = "attribute13", name = "预留字段13")
    private Long attribute13;

    @FieldRemark(column = "attribute_14", field = "attribute14", name = "预留字段14")
    private Long attribute14;

    @FieldRemark(column = "attribute_15", field = "attribute15", name = "预留字段15")
    private Long attribute15;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getDestFieldValue() {
        return destFieldValue;
    }

    public void setDestFieldValue(String destFieldValue) {
        this.destFieldValue = destFieldValue;
    }

    public String getSrcFieldValue() {
        return srcFieldValue;
    }

    public void setSrcFieldValue(String srcFieldValue) {
        this.srcFieldValue = srcFieldValue;
    }

    public String getColField() {
        return colField;
    }

    public void setColField(String colField) {
        this.colField = colField;
    }

    public String getColLabel() {
        return colLabel;
    }

    public void setColLabel(String colLabel) {
        this.colLabel = colLabel;
    }

    public String getDestColumnId() {
        return destColumnId;
    }

    public void setDestColumnId(String destColumnId) {
        this.destColumnId = destColumnId;
    }

    public String getSrcColumnId() {
        return srcColumnId;
    }

    public void setSrcColumnId(String srcColumnId) {
        this.srcColumnId = srcColumnId;
    }

    public String getDestTableId() {
        return destTableId;
    }

    public void setDestTableId(String destTableId) {
        this.destTableId = destTableId;
    }

    public String getSrcTableId() {
        return srcTableId;
    }

    public void setSrcTableId(String srcTableId) {
        this.srcTableId = srcTableId;
    }

    public String getSysId() {
        return sysId;
    }

    public void setSysId(String sysId) {
        this.sysId = sysId;
    }

    public String getSecretLevel() {
        return secretLevel;
    }

    public void setSecretLevel(String secretLevel) {
        this.secretLevel = secretLevel;
    }

    public String getSysApplicationId() {
        return sysApplicationId;
    }

    public void setSysApplicationId(String sysApplicationId) {
        this.sysApplicationId = sysApplicationId;
    }

    public java.util.Date getLastUpdateDateBegin() {
        return lastUpdateDateBegin;
    }

    public void setLastUpdateDateBegin(java.util.Date lastUpdateDateBegin) {
        this.lastUpdateDateBegin = lastUpdateDateBegin;
    }

    public java.util.Date getLastUpdateDateEnd() {
        return lastUpdateDateEnd;
    }

    public void setLastUpdateDateEnd(java.util.Date lastUpdateDateEnd) {
        this.lastUpdateDateEnd = lastUpdateDateEnd;
    }

    public java.util.Date getCreationDateBegin() {
        return creationDateBegin;
    }

    public void setCreationDateBegin(java.util.Date creationDateBegin) {
        this.creationDateBegin = creationDateBegin;
    }

    public java.util.Date getCreationDateEnd() {
        return creationDateEnd;
    }

    public void setCreationDateEnd(java.util.Date creationDateEnd) {
        this.creationDateEnd = creationDateEnd;
    }

    public String getAttribute01() {
        return attribute01;
    }

    public void setAttribute01(String attribute01) {
        this.attribute01 = attribute01;
    }

    public String getAttribute02() {
        return attribute02;
    }

    public void setAttribute02(String attribute02) {
        this.attribute02 = attribute02;
    }

    public String getAttribute03() {
        return attribute03;
    }

    public void setAttribute03(String attribute03) {
        this.attribute03 = attribute03;
    }

    public String getAttribute04() {
        return attribute04;
    }

    public void setAttribute04(String attribute04) {
        this.attribute04 = attribute04;
    }

    public String getAttribute05() {
        return attribute05;
    }

    public void setAttribute05(String attribute05) {
        this.attribute05 = attribute05;
    }

    public String getAttribute06() {
        return attribute06;
    }

    public void setAttribute06(String attribute06) {
        this.attribute06 = attribute06;
    }

    public String getAttribute07() {
        return attribute07;
    }

    public void setAttribute07(String attribute07) {
        this.attribute07 = attribute07;
    }

    public String getAttribute08() {
        return attribute08;
    }

    public void setAttribute08(String attribute08) {
        this.attribute08 = attribute08;
    }

    public java.util.Date getAttribute09() {
        return attribute09;
    }

    public void setAttribute09(java.util.Date attribute09) {
        this.attribute09 = attribute09;
    }

    public java.util.Date getAttribute09Begin() {
        return attribute09Begin;
    }

    public void setAttribute09Begin(java.util.Date attribute09Begin) {
        this.attribute09Begin = attribute09Begin;
    }

    public java.util.Date getAttribute09End() {
        return attribute09End;
    }

    public void setAttribute09End(java.util.Date attribute09End) {
        this.attribute09End = attribute09End;
    }

    public java.util.Date getAttribute10() {
        return attribute10;
    }

    public void setAttribute10(java.util.Date attribute10) {
        this.attribute10 = attribute10;
    }

    public java.util.Date getAttribute10Begin() {
        return attribute10Begin;
    }

    public void setAttribute10Begin(java.util.Date attribute10Begin) {
        this.attribute10Begin = attribute10Begin;
    }

    public java.util.Date getAttribute10End() {
        return attribute10End;
    }

    public void setAttribute10End(java.util.Date attribute10End) {
        this.attribute10End = attribute10End;
    }

    public Long getAttribute11() {
        return attribute11;
    }

    public void setAttribute11(Long attribute11) {
        this.attribute11 = attribute11;
    }

    public Long getAttribute12() {
        return attribute12;
    }

    public void setAttribute12(Long attribute12) {
        this.attribute12 = attribute12;
    }

    public Long getAttribute13() {
        return attribute13;
    }

    public void setAttribute13(Long attribute13) {
        this.attribute13 = attribute13;
    }

    public Long getAttribute14() {
        return attribute14;
    }

    public void setAttribute14(Long attribute14) {
        this.attribute14 = attribute14;
    }

    public Long getAttribute15() {
        return attribute15;
    }

    public void setAttribute15(Long attribute15) {
        this.attribute15 = attribute15;
    }

    public String getLogFormName() {
        if (super.logFormName == null || super.logFormName.equals("")) {
            return "CBB_TAB_EXCEPTION_COLUMNS";
        } else {
            return super.logFormName;
        }
    }

    public String getLogTitle() {
        if (super.logTitle == null || super.logTitle.equals("")) {
            return "CBB_TAB_EXCEPTION_COLUMNS";
        } else {
            return super.logTitle;
        }
    }

    @Override
    public LogType getLogType() {
        if (super.logType == null || super.logType.equals("")) {
            return LogType.module_operate;
        } else {
            return super.logType;
        }
    }

    public CbbTabExceptionColumnsDTO(String srcTableId, String destTableId, String srcColumnId, String destColumnId,
                                     String colLabel, String colField, String srcFieldValue, String destFieldValue) {
        this.srcTableId = srcTableId;
        this.destTableId = destTableId;
        this.srcColumnId = srcColumnId;
        this.destColumnId = destColumnId;
        this.colLabel = colLabel;
        this.colField = colField;
        this.srcFieldValue = srcFieldValue;
        this.destFieldValue = destFieldValue;
    }

    public CbbTabExceptionColumnsDTO() {
    }
}